package cn.kevinking.auth.controller;

import cn.kevinking.auth.model.dto.UserLoginDTO;
import cn.kevinking.auth.model.vo.BfzAuthenticationVO;
import cn.kevinking.auth.service.IBfzAuthService;
import cn.kevinking.common.pojo.ResultVO;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * handle some usual scenarios related with authentication.
 *
 * @author kevinking
 * @since 17 Nov 2024
 */
@RestController
@RequiredArgsConstructor(onConstructor_ = @Autowired)
public class BfzAuthController {

	private final IBfzAuthService authService;

	@PostMapping("/login")
	public ResultVO<BfzAuthenticationVO> loginByUsernamePassword(@RequestBody UserLoginDTO userLoginDTO) {

		return null;
	}
}

